package com.yunweiweishi.xuhuanpaltform.yuhuan_app.service;


import com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo.Equipment;

import java.util.List;

public interface EquipmentService {


    /**
     * 通过kks 查找设备
     * @param kks
     * @return
     */
       Equipment findEquipmentByKks(String kks) ;


    /**
     * 通过equipmentName 查找设备
     * @param equipmentName
     * @return
     */
    Equipment findEquipmentByEquipmentName(String equipmentName);


     List<Equipment> FindAll();

     Equipment addEquipment(Equipment equipment);

     Equipment updateById(Equipment equipment);

     void deleteById(Long id);
}
